Import('env')
Import('options')
env = env.Copy()

# xxx: we must find a way to get these defines throughout the system
defines = ['WIN32', '_CONSOLE']
defines += ['WITH_QUICKTIME']
defines += ['_LIB', 'USE_OPENAL']
defines += ['FTGL_LIBRARY_STATIC']
env.Append(CPPDEFINES = defines)

env.Append(CPPPATH=['.',
    '../quicktime',
    '../makesdna',
    '#/intern/guardedalloc',
    '../blenlib',
    '../blenkernel',
    '../avi',
    '../imbuf',
    '../imbuf/intern',
    '../blenloader',
    '../render/extern/include',
    '../include',
    '#../lib/windows/QTDevWin/CIncludes',
])
env.Library(target='#$BUILD_DIR/lib/blender_quicktime', source=['apple/quicktime_import.c', 'apple/quicktime_export.c'])
